#ifndef UPROGRESSSTYLEOPTION_H
#define UPROGRESSSTYLEOPTION_H

#include "upalette.h"
#include <QStyleOption>

class UProgressStyleOption : public QStyleOptionProgressBar
{
public:

    int radius = 0;
    int borderWidth = 0;
    UPalette::ColorType bgRole = UPalette::ColorType::SplitLineBackground;
    UPalette::ColorType borderRole = UPalette::ColorType::ModuleBackground;
    UPalette::ColorType progressRole = UPalette::ColorType::InformationBackground;

    UProgressStyleOption();
    UProgressStyleOption(const UProgressStyleOption &other)
    {
        *this = other;
    }
    UProgressStyleOption &operator=(const UProgressStyleOption &) = default;
};

#endif // UPROGRESSSTYLEOPTION_H
